package com.seean.clock.common;

/**
 * @authur wsx
 * @date 2019/8/14 10:48
 */
public enum resCode {

    ERROR(-1,"失败"),
    SUCCESS(0,"成功");

    private Integer code;

    private String msg;

    resCode(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}